<!--
 * @Date: 2022-04-12 09:48:24
 * @LastEditors: wuyuxin
 * @LastEditTime: 2022-04-26 11:00:37
 * @FilePath: \Vue3-ts-cms\src\App.vue
 * @description: 文件描述
-->
<template>
  <div class="app">
    <el-config-provider :locale="locale">
      <router-view></router-view>
    </el-config-provider>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

import zhCn from 'element-plus/lib/locale/lang/zh-cn'
export default defineComponent({
  name: 'App',
  props: {
    name: {
      type: String
    }
  },
  setup() {
    return {
      locale: zhCn
    }
  }
})
</script>

<style lang="less">
.app {
  height: 100%;
}
</style>
